package com.heima.model.admin.dtos;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Objects;

@Data
public class ChannelDto {
    /**
     * 频道名称
     */
    @ApiModelProperty(value = "频道名称")
    private String name;

    @ApiModelProperty(value = "状态")
    private Boolean status;

    @ApiModelProperty(value = "当前页", example = "1", required = true)
    private Integer page;

    @ApiModelProperty(value = "每页显示条数", example = "10", required = true)
    private Integer size;

    @Override
    public int hashCode() {
        int result = Objects.hash(super.hashCode(), getPage(), getSize(),getPage());
        return result;
    }
}
